package com.richfit.cuba.modular.lsms.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;


@TableName("SAFE_REPORT_DATA")
public class SafeReportData extends Model<SafeReportData> {

	private static final long serialVersionUID = 1L;

	@TableId("ID")
    private String id;
	
	@TableField("REPORT_DETAIL_ID")
	private String reportDetailId;
	
	@TableField("SCANNING_TIME")
	private Date scanningTime;
	
	@TableField("SCANNING_TABLE")
	private String scanningTable;
	
	@TableField("CREATE_DATE")
	private Date createDate;
	
	@TableField("Organization")
	private String organization;
	
	@TableField("OIL_ID")
	private String oilId;
	
	@TableField("LEGAL_VALUE")
	private BigDecimal legalValue;
	
	@TableField("ABNOMAL_VALUE")
	private BigDecimal abnomalValue;
	
	@TableField("DATA_ID")
	private String dataId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getReportDetailId() {
		return reportDetailId;
	}

	public void setReportDetailId(String reportDetailId) {
		this.reportDetailId = reportDetailId;
	}

	public Date getScanningTime() {
		return scanningTime;
	}

	public void setScanningTime(Date scanningTime) {
		this.scanningTime = scanningTime;
	}

	public String getScanningTable() {
		return scanningTable;
	}

	public void setScanningTable(String scanningTable) {
		this.scanningTable = scanningTable;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getOrganization() {
		return organization;
	}

	public void setOrganization(String organization) {
		this.organization = organization;
	}

	public String getOilId() {
		return oilId;
	}

	public void setOilId(String oilId) {
		this.oilId = oilId;
	}

	public BigDecimal getLegalValue() {
		return legalValue;
	}

	public void setLegalValue(BigDecimal legalValue) {
		this.legalValue = legalValue;
	}

	public BigDecimal getAbnomalValue() {
		return abnomalValue;
	}

	public void setAbnomalValue(BigDecimal abnomalValue) {
		this.abnomalValue = abnomalValue;
	}
	
	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}

	@Override
    protected Serializable pkVal() {
        return this.id;
    }

	@Override
	public String toString() {
		return "SaveReportData [id=" + id + ", reportDetailId=" + reportDetailId + ", scanningTime=" + scanningTime
				+ ", scanningTable=" + scanningTable + ", createDate=" + createDate + ", organization=" + organization
				+ ", oilId=" + oilId + ", legalValue=" + legalValue + ", abnomalValue=" + abnomalValue + "]";
	}
	
}
